const express = require("express");
const app = express();
const server = require('http').createServer(app);
const io = require('socket.io')(server);
const path = require("path");
io.on('connection',(socket)=>{
       console.log("socket");

    //    socket.on("csg",(data)=>{
    //        console.log(data)
    //    })
});

server.listen(3000);
app.use(express.static(path.join(__dirname,"www")));